<!-- 个人中心 -->
<empty name="noself">
    <div class="box">
        <div class="self-avator-bg">
            <div class="self-avator-img format-cover" data-filltype="full">
                <img class="lazy-img" data-src="{$user.background|default="__ROOT__/Public/Home/images/background.jpg"}" alt="">
            </div>
            <div class="padd-tb10 self-avator-positon">
                <div class="self-avartor box-radius format-cover" data-filltype="full">
                    <img class="lazy-img" data-src="{$user.avatar|default="__ROOT__/Public/Home/images/avatar.jpg"}" alt="{$user.nickname}">
                </div>
                <div class="recommend-follow in-block mar-tb10">
                    <div class="btn btn-self-name">{$user.nickname}</div>
                </div>
            </div>
        </div>
        <ul class="float-ul ul-col-3 padd-tb10 self-list-fans">
            <li>
                <a href="{:U('Ucenter/attention')}">
                    <span>{$user.statis.fans}</span>
                    <p class="fc-gray">粉丝</p>
                </a>
            </li>
            <li>
                <a href="{:U('Ucenter/attention?type=1')}">
                    <span>{$user.statis.follows}</span>
                    <p class="fc-gray">关注</p>
                </a>
            </li>
            <li>
                <a href="{:U('Ucenter/attention?type=2')}">
                    <span>{$user.statis.scribe}</span>
                    <p class="fc-gray">游戏</p>
                </a>
            </li>
        </ul>
    </div>
</empty>
<div class="box mar-t20">
    <ul class="v-align self-item l-align">
        <li <if condition="ACTION_NAME eq 'index'">class="active" </if>>
            <a href="{:U('Ucenter/index')}">
                <b class="icon icon-self-arrow fr"></b>
                <i class="icon icon-self-index mar-r10"></i>
                <span>我的首页</span>
            </a>
        </li>
        <li <if condition="ACTION_NAME eq 'message'">class="active" </if>>
            <a href="{:U('Ucenter/message')}">
                <b class="icon icon-self-arrow fr"></b>
                <neq name="newMsgNum" value="0">
                    <b class="icon icon-self-new fr"></b>
                </neq>
                <i class="icon icon-self-about mar-r10"></i>
                <span>与我相关</span>
            </a>
        </li>
        <li <if condition="ACTION_NAME eq 'favour'">class="active" </if>>
            <a href="{:U('Ucenter/favour')}">
                <b class="icon icon-self-arrow fr"></b>
                <i class="icon icon-self-collect mar-r10"></i>
                <span>我的收藏</span>
            </a>
        </li>
        <li <if condition="ACTION_NAME eq 'history'">class="active" </if>>
            <a href="{:U('Ucenter/history')}">
                <b class="icon icon-self-arrow fr"></b>
                <i class="icon icon-self-records mar-r10"></i>
                <span>观看记录</span>
            </a>
        </li>
        <li <if condition="ACTION_NAME eq 'profile'">class="active" </if>>
            <a href="{:U('Ucenter/profile')}">
                <b class="icon icon-self-arrow fr"></b>
                <i class="icon icon-self-info mar-r10"></i>
                <span>个人资料</span>
            </a>
        </li>
        <li <if condition="ACTION_NAME eq 'setting'">class="active" </if>>
            <a href="{:U('Ucenter/setting')}">
                <b class="icon icon-self-arrow fr"></b>
                <i class="icon icon-self-setup mar-r10"></i>
                <span>账号设置</span>
            </a>
        </li>
    </ul>
</div>